<!-- 页面乱码加这句话 -->
<%@ page language="java" isELIgnored="false"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="../common/header.jspf"%>
<link href="${ctx}/other/css/bootstrap-table.css" rel="stylesheet">
<link href="<%=path%>/other/css/styleindex.css" rel="stylesheet" />
<link href="<%=path%>/other/css/layout.css" rel="stylesheet" />
<style>
.select2-container--open {
	z-index: 9999999
}
</style>

</head>

<body>
	<div class="header ">
		<div class="container">
			<div class="logo">
				<a href='/' title="人才测评系统">人才测评系统 
			</div>
			<div class="more-option">
				<a href='/user/logout' class="user_Close ajax-post"><img
					src="<%=path%>/images/login/close.jpg">退出</a>
			</div>
		</div>
	</div>
	<div class="container">

		<!-- 侧边导航栏 -->
		<div id="slide-menu">
			<div class="userInfo">
				<div class="head_icon">
				<img alt="头像"
					<c:if test="${User.userImage eq ''}">
					src="<%=path%>/images/login/empty_head.jpg"
					</c:if>
					<c:if test="${User.userImage!=null }">
					src="<%=path%>/${sessionScope.User.userImage }"
					</c:if> 
					 class="img-circle"
					width="100%" height="100%"
			  />
				</div>
				<p>
					${sessionScope.User.userName }<br>${sessionScope.User.userPhone }
				</p>
			</div>
			<div class="list_box">
				<ul class="list-unstyled" style="height:1000px;">
					<li><a href="<%=path %>/pages/index.jsp"><i
								class="glyphicon glyphicon-home"></i>人才测评</a></li>
						<li><a href='<%=path %>/pages/testDetail.jsp'><i
								class="glyphicon glyphicon-list-alt"></i>测评须知</a></li>
						<li><a href='<%=path %>/pages/reportList.jsp?userId=${sessionScope.User.userId}'><i
								class="glyphicon glyphicon-list-alt"></i>报告查询</a></li>
				       <li><a href='../MenuController/postListfront.action'><i
								class="glyphicon glyphicon-cog"></i>交流中心</a></li>
						<li><a href='../UserController/personInformation.action'><i
								class="glyphicon glyphicon-cog"></i>个人信息管理</a></li>
				</ul>
			</div>

		</div>
		<div id="layoutmain">
			<div id="postContent"></div>
			<span>发表帖子</span>
			<div class="modal-dialog">
				<div class="modal-content">
					<div id="PostSendHBox">
						<form id="PostSendForm" method="post">
							<div class="table-responsive">
								<div class="form-group">
									<h4 style="float: left; line-height: 30px;">帖子标题：</h4>
									<input type="text" id="postTitle" name="postTitle"
										class="form-control" placeholder="标题"
										style="margin-top: 20px; width: 700px;" />
									<h4 style="float: left; line-height: 30px; magin-top: 10px;">帖子正文：</h4>
									<textarea class="form-control" rows="12"
										placeholder="输入您的邮件内容.." id="postContent01" name="postContent"
										style="margin-top: 20px; margin-left: 20px; width:800px;"></textarea>
								</div>
							</div>
							<div class="modal-footer">
								<button type="button" class="btn btn-primary" id="reset">重置</button>
								<button type="button" class="btn btn-primary" id="sendPost">发送</button>
							</div>
						</form>
					</div>
				</div>
				<!-- modal content ends -->
			</div>
			
		</div>
		<!-- modal dialog ends-->
	</div>

	<!-- 模拟前台模板 -->


	<%@ include file="../common/bottom.jspf"%>
	<!-- hDialog -->
	<script type="text/javascript" src="${ctx}/script/jquery.hDialog.js"></script>
	<!-- easyfrom -->
	<script type="text/javascript" src="${ctx}/other/js/moment.min.js"></script>
	<script type="text/javascript" src="${ctx}/other/js/moment.js"></script>
	<script type="text/javascript" src="${ctx}/other/js/select2.full.js"></script>
	<script type="text/javascript"
		src="${ctx}/other/js/select2.full.min.js"></script>
	<script type="text/javascript" src="${ctx}/other/js/select2.js"></script>
	<script type="text/javascript" src="${ctx}/other/js/select2.min.js"></script>
	<script type="text/javascript" src="${ctx}/script/pm/postList.js"></script>
	<script type="text/javascript">
		$("#UserCombox").select2();
		$('.select2').css('width', '100%');
		$('.selection').css('width', '100%');
		$('.select2-selection').css('width', '100%');
	</script>
</body>
</html>